<template>
    <div class="box">
        <div class="nav">
            <van-nav-bar
                    title="大先生客厅，最丰沛的客厅日常"
                    left-arrow
                    @click-left="onClickLeft"
            />
        </div>
        <SpaceImg></SpaceImg>
        <SpaceImg2></SpaceImg2>
    </div>
</template>

<script>
    import SpaceImg from './SpaceImg'
    import SpaceImg2 from './SpaceImg2'
    export default {
        name: "Space",
        data(){
            return {
                active:0,
            }
        },
        methods: {
            onClickLeft() {
                Toast('返回');
            },
            onClickRight() {
                Toast('按钮');
            }
        },
        components:{
            SpaceImg,
            SpaceImg2,
        }

    }
</script>

<style scoped>
    .box {
        width: 100%;
    }

    .nav {
        height: 50px;
    }
</style>